import React from 'react'
import { RouteComponentProps } from 'react-router-dom'
interface PropTypes {
  touristId: string
}
export const DetailPage: React.FC<RouteComponentProps<PropTypes>> = (props) => {
  return <h1>详情页面，传入的id为{props.match.params.touristId}</h1>
}